/**
 * 
 */
package xj.toolkit.ebus;

import xj.toolkit.util.ClosureEx;

/**
 * @author isdom
 * 
 */
public interface EventBus {

	public Runnable registerObserver(String event, ClosureEx closure);

	public Runnable registerObserver(String event, Object target,
			String methodName);

	public boolean fireEvent(String event, Object... args);
}
